#include "autologinthread.h"

void AutoLoginThread::run()
{
    while(!ok){
        if(!ok){
            sleep(1.5);//延时2s
            ok=true;
            emit TimeRun();
        }
    }
    exec();
}

AutoLoginThread::AutoLoginThread(QObject *parent)
    : QThread{parent}
{

}
